<?php
/**
 * Created by PhpStorm.
 * User: idcu
 * Date: 2016/3/12
 * Time: 10:43
 */
namespace Service\Controller;
use IDCU\Controller;

class OrderController extends Controller
{
    public function create()
    {
        $req = $this->getReq();
        $type = array(
            array('maintain1','室内维修',),
            array('maintain2','公共维修',),
            array('maintain3','所有服务',),
            array('maintain4','洗衣服务',),
            array('maintain5','巡更服务',),
            array('maintain6','不正常服务',),
            array('maintain7','投诉服务',),
            array('maintain8','其他服务',),
        );
        $customer = D('Customer')->relation('families')->find($req['id']);
        $this->assign('customer',$customer);
        $this->display();
    }
}